var values = dictionary.Where(x => someKeys.Contains(x.Key)).Select(x => x.Value); var keys = dictionary.Where(x => someValues.Contains(x.Value)).Select(x => x.Key);